﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Outsourcing
{
    [Table("W_Assist")]
    public partial class W_Assist
    {
        public W_Assist()
        {
            W_AssistDetail = new HashSet<W_AssistDetail>();
        }
        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public string Id { get; set; }
        public string AssistNo { get; set; }
        public DateTime AssistDate { get; set; }
        public string AssistUser { get; set; }
        public string SupplierId { get; set; }
        public string LinkerName { get; set; }
        public string Currency { get; set; }
        public decimal CurrencyRate { get; set; }
        public byte TaxRate { get; set; }
        public string DeliveryAddress { get; set; }
        public string Remark { get; set; }
        public DateTime? CreateDate { get; set; }
        public string CreateMan { get; set; }
        public DateTime? ModifyDate { get; set; }
        public string ModifyMan { get; set; }
        public DateTime? SubmitDate { get; set; }
        public string SubmitUser { get; set; }
        public DateTime? CheckDate { get; set; }
        public string CheckUser { get; set; }
        public int? State { get; set; }
        public int? Lock { get; set; }
        public int? Visible { get; set; }
        public int? IsPrint { get; set; }
        public string Factory { get; set; }
        public int? BillState { get; set; }
        public DateTime? BillStateDate { get; set; }
        public string WorkFlowID { get; set; }

        public virtual ICollection<W_AssistDetail> W_AssistDetail { get; set; }
    }
}
